Skip to content

Fix IOS vlan list causing a vlan deletion in remediation#265

Open
nopg wants to merge 1 commit into
netdevops:masterfrom
nopg:u/nopg/2064-ios-vlan-list
Open

Fix IOS vlan list causing a vlan deletion in remediation#265
nopg wants to merge 1 commit into
netdevops:masterfrom
nopg:u/nopg/2064-ios-vlan-list

Conversation

@nopg

@nopg nopg commented Jun 24, 2026

Copy link
Copy Markdown

Closes #264.

Splits collapsed Cisco IOS VLAN lines (e.g. vlan 69,381) into onevlan <id> block each at load time, so they diff per-VLAN instead of producing a destructive no vlan 69,381. Used the existing ProCurve post_load_callback as an example on how to resolve this.
Added tests for the existing broken case and new cases.

@nopg nopg requested review from aedwardstx and jtdub as code owners June 24, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collapsed VLAN lines can produce a destructive "no vlan x,y" remediation in Cisco IOS

1 participant